<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <script src="jquery-3.4.1.min.js"></script>
</head>
<body>
<div>
  <p class="ppp">
    <span>
      <b onclick="aaa(123123,this)">我的父元素</b>
    </span>
  </p>
  <div>aaa</div>
</div>
<script>
  function aaa(a,This){
     console.log(This);
     $(This).parents('.ppp').remove();
  }
</script>
</body>
</html>